package com.code.day06;

public class Test03 {
    public static void main(String[] args) {
        Citizen me = new Citizen();
        me.name = "小王";
        me.birthday = new MyDate();
        me.birthday.year = 1999;
        me.birthday.month = 10;
        me.birthday.day = 1;
        System.out.println(me.name + "生日是" + me.birthday.year + "年" + me.birthday.month + "月" + me.birthday.day + "日");
    }
}
